package com.dingding.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class BookInfo {
    private Integer id;

    private String isbn;

    private String title;

    private Integer authId;

    private Integer subjectId;

    private Integer publishId;

    private String publishTime;

    private Integer categoryiesId;

    private String mainImage;

    private String pictureUrl;

    private BigDecimal price;

    private String introduce;

    private String detail;

    private Integer status;

    private Integer stock;

    private Integer hot;

    private Integer total;

    private Date createTime;

    private Date updateTime;

    public BookInfo(Integer id, String isbn, String title, Integer authId, Integer subjectId, Integer publishId, String publishTime, Integer categoryiesId, String mainImage, String pictureUrl, BigDecimal price, String introduce, String detail, Integer status, Integer stock, Integer hot, Integer total, Date createTime, Date updateTime) {
        this.id = id;
        this.isbn = isbn;
        this.title = title;
        this.authId = authId;
        this.subjectId = subjectId;
        this.publishId = publishId;
        this.publishTime = publishTime;
        this.categoryiesId = categoryiesId;
        this.mainImage = mainImage;
        this.pictureUrl = pictureUrl;
        this.price = price;
        this.introduce = introduce;
        this.detail = detail;
        this.status = status;
        this.stock = stock;
        this.hot = hot;
        this.total = total;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public BookInfo() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn == null ? null : isbn.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Integer getAuthId() {
        return authId;
    }

    public void setAuthId(Integer authId) {
        this.authId = authId;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getPublishId() {
        return publishId;
    }

    public void setPublishId(Integer publishId) {
        this.publishId = publishId;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getCategoryiesId() {
        return categoryiesId;
    }

    public void setCategoryiesId(Integer categoryiesId) {
        this.categoryiesId = categoryiesId;
    }

    public String getMainImage() {
        return mainImage;
    }

    public void setMainImage(String mainImage) {
        this.mainImage = mainImage == null ? null : mainImage.trim();
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl == null ? null : pictureUrl.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce == null ? null : introduce.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getHot() {
        return hot;
    }

    public void setHot(Integer hot) {
        this.hot = hot;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}